package com.zc.demo.xmlparser;

/**
 * Created by zhangchi9 on 2016/12/12.
 */
public class TestMain {

    public static void main(String[] args) {
        /*XmlDocument xmlDocument = new DomParser();
        xmlDocument.assembleXml();
        xmlDocument.parseXml(null);*/

        /*XmlDocument xmlDocument = new SaxParser();
        xmlDocument.assembleXml();
        xmlDocument.parseXml(null);*/

        /*XmlDocument xmlDocument = new Dom4jParser();
        xmlDocument.assembleXml();
        xmlDocument.parseXml(null);*/

        XmlDocument xmlDocument = new JdomParser();
        xmlDocument.assembleXml();
        xmlDocument.parseXml(null);
    }
}
